package com.project.service;

import com.github.pagehelper.PageInfo;
import com.project.bean.ProductBean;

import java.time.LocalDate;
import java.util.List;

public interface IProductService {
    public int PAGESIZE = 3;

    public void add(ProductBean product);
    public void del(int id);
    public void update(int id, int price);
    public ProductBean findById(int id);
    public PageInfo<ProductBean> findByItem(int pageNO, String name, LocalDate startDate, LocalDate endDate);
}
